package com.briup.jd2511.web04.service.impl;

import com.briup.jd2511.web04.domain.Emp;
import com.briup.jd2511.web04.service.EmpService;
import com.briup.jd2511.web04.mapper.EmpMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
* @author mastercgx
* @description 针对表【emp(员工表)】的数据库操作Service实现
* @createDate 2025-09-24 09:58:56
*/
@Service
public class EmpServiceImpl implements EmpService{

    @Autowired
    EmpMapper empMapper;

    @Override
    public Emp getById(Integer id) {
        return empMapper.selectById(id);
    }
}




